Skip to content

Conversation

@Anish0999
Copy link

Description

This pull request added tests for CI and fixed the yml file to pull request for SwiftLint

Issues Resolved

  • Unit Tests are now tested for any pull request
  • SwiftLint push changed to pull request in yml file

Changes Made

  • Utilizing Github actions I created a new yml file that will test any tests written in the Tests > StringCatalogEnumTests > StringCatalogEnumTests.swift. This will be run whenever anyone creates a PR

Checklist

  • My changes generate no new warnings or errors
  • The commit messages are clear and follow best practices.

Additional Comments
N/A

Copy link
Owner

@superarts superarts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Anish0999 I have reviewed one file of your PR. However, I'm going to ask you to look at your PR again, read our slack conversation, and figure out the rest of your problems by yourself.

It is OK for me to direct you through the tasks, but I don't want to keep repeating myself.

jobs:
test:
name: Run Swift Tests
runs-on: ubuntu-latest
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting approach. Users of this tool should be using macOS, but making the tool cross-platform may have some value?

@@ -0,0 +1,24 @@
name: Swift
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Swift
name: Swift unit test

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename to swift-unit-test.yml


steps:
- name: Check out code
uses: actions/checkout@v2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using the latest version? I think it's v4 now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants